/*
 * File: manager.h - header file for the manager class
 * Author: Sam Tran (tpmsam@yahoo.com), UHCL, April 2006
 */

#ifndef __MANAGER_H
#define __MANAGER_H

#include <omnetpp.h>
#include "globaldef.h"

class manager : public cSimpleModule
{

	/** omnet++ specific code */
	Module_Class_Members(manager,cSimpleModule,16384);
	
	void initialize();
	void activity();
	
	// variables
	/** connection matrix */
	//bool cm[NNODES][NNODES];
	bool cm[1000][1000];
	int base_ID, base_index;
	bool dead_node_flag;
	//Flag indicate that if the object is still in the network. true mean the object is in.

};


Define_Module( manager );

#endif



